package com.ruoyi.shop.member.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员用户三方授权认证对象 shop_member_auth
 * 
 * @author ruoyi
 * @date 2023-11-16
 */
public class ShopMemberAuth extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 主键 */
	private Long authId;

	/** 会员ID */
	private Long memberId;

	/** 单端唯一标识(如微信openId)，用于账号唯一 */
	private String uniqueId;

	/** 多端唯一标识(如微信、钉钉 uniond)，用于账号统一 */
	private String unionId;

	/** 第三方平台 */
	private String platform;

	/** 客户端类型(mini-小程序mp-公众号h5-手机端pc-电脑ios-苹果apk-安卓hap-鸿蒙) */
	private String clientType;

	public void setAuthId(Long authId) {
		this.authId = authId;
	}

	public Long getAuthId() {
		return authId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	public Long getMemberId() {
		return memberId;
	}

	public void setUniqueId(String uniqueId) {
		this.uniqueId = uniqueId;
	}

	public String getUniqueId() {
		return uniqueId;
	}

	public void setUnionId(String unionId) {
		this.unionId = unionId;
	}

	public String getUnionId() {
		return unionId;
	}

	public void setPlatform(String platform) {
		this.platform = platform;
	}

	public String getPlatform() {
		return platform;
	}

	public void setClientType(String clientType) {
		this.clientType = clientType;
	}

	public String getClientType() {
		return clientType;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("authId", getAuthId())
				.append("memberId", getMemberId()).append("uniqueId", getUniqueId()).append("unionId", getUnionId())
				.append("platform", getPlatform()).append("clientType", getClientType())
				.append("createTime", getCreateTime()).append("updateTime", getUpdateTime()).toString();
	}
}
